/* ------------------------------------------ 全局样式 ------------------------------------------ */

@import "./transition.scss";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html, body {
  width: 100%;
  height: 100%;
}
a {
  text-decoration: none;
}
button {
  outline: none;
  border: none;
}
:not(input):not(textarea) {
  user-select: none;
}
#app {
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

// 主题按钮
.theme-btn {
  @include reset-button; // button样式清除
  @include display-flex;
  position: relative;
  background-color: $color-theme;
  width: 246px;
  height: 38px;
  margin: 40px auto;
  border-radius: 19px;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 1px 1px -2px rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.1),
    0 1px 5px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  &.disabled {
    background-color: #c8cbd2;
    color: #ffffff;
  }
}
